import { CzmESGeoPolygon,ESCesiumViewer } from 'earthsdk3-cesium';

import { ESRtsPolygon } from '.';


export class CzmESRtsPolygon extends CzmESGeoPolygon<ESRtsPolygon> {
    static override readonly type = this.register("ESCesiumViewer",ESRtsPolygon.type, this);

    constructor(sceneObject: ESRtsPolygon, czmViewer: ESCesiumViewer) {
        super(sceneObject, czmViewer);
        const viewer = czmViewer.viewer;
        if (!viewer) {
            console.warn(`viewer is undefined!`);
            return;
        }
    }
}